#ifndef MAINMENU_H
#define MAINMENU_h

#include <nds.h>
#include <string>
#include "ellen/ln.h"
#include "fixed.h"

#include "player.h"
#include "game.h"

#include "splashScreen.h"
#include "menu.h"
#include "selectArrow.h"
#include "passwordSelect.h"


class mainmenu{
public:
	mainmenu();
	~mainmenu();
	void updateInput(touchPosition* touch);
	void displaySplash();
	void displayMenu();
	void handleInput();
	void update();
	void display();
	void printPassword();
	void select();
	void goBack();
	void moveCursorUp();
	void moveCursorDown();
	void moveCursorRight();
	void moveCursorLeft();
	void done();
	void startGame();
	void chooseCharacter();
	void enterPassword();
	void viewHighscores();
	void handleAnimation();
private:
	Player* player;
	lnSprite* x_sprite;
	lnSpriteAnim * x_spriteAnim;

	t2DVector cursorPosition;
	int currentOption;

	game* Game;
	touchPosition touch;
	
	std::string password;
	int x_splash;
	int x_menu;
	int x_chooseCharacter;
	int x_enterPassword;
	int x_viewHighscores;
};
#endif